'use strict';

const Controller = require('egg').Controller;

class TodoController extends Controller {
  async index() {
    const { ctx, service } = this;
    const res = await service.weather.query();
    console.log(res, 'res');
    ctx.body = 'hi, egg';
  }
}

module.exports = TodoController;
